<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var valuea ="123.15";
        var valueb = "a";
        var valuec = true;
        var valued =false;
        var valuee =null;
        var valuef =undefined;
        console.log(Boolean(valuea));//true
        console.log(Boolean(valueb));//false
        console.log(Boolean(valuec));//false
        console.log(Boolean(valued));//false
        console.log(Boolean(valuee));
        console.log(Boolean(valuef));
    </script>
</body>
</html>